import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import First from '@/components/First'
import RunLight from '@/components/RunLight'
import EventBedeck from '@/components/事件修饰符'
import ShoopAddDemo from '@/components/ShoopAddDemo'
import animationVue from '@/components/animationVue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/HelloWorld',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/First',
      name: 'First',
      component: First
    },
    {
      path: '/RunLight',
      name: 'RunLight',
      component: RunLight
    },
    {
      path: '/事件修饰符',
      name: '事件修饰符',
      component: EventBedeck
    },
    {
      path: '/ShoopAddDemo',
      name: 'ShoopAddDemo',
      component: ShoopAddDemo
    },
    {
      path: '/animationVue',
      name: 'animationVue',
      component: animationVue
    }
  ]
})
